package com.example.covid.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 感染者信息
 * @author KamenRider
 */
public class InfectedPersonInformation {

  private Integer id;
  /**区域编号 */
  private long areaId;
  /**感染人数 */
  private long infectedNum;
  /**创建时间 */
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date entryTime;
  /**创建人 */
  private String enteredBy;

  /**地区名称 */
  private String areaName;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public long getAreaId() {
    return areaId;
  }

  public void setAreaId(long areaId) {
    this.areaId = areaId;
  }

  public long getInfectedNum() {
    return infectedNum;
  }

  public void setInfectedNum(long infectedNum) {
    this.infectedNum = infectedNum;
  }

  public Date getEntryTime() {
    return entryTime;
  }

  public void setEntryTime(Date entryTime) {
    this.entryTime = entryTime;
  }

  public String getEnteredBy() {
    return enteredBy;
  }

  public void setEnteredBy(String enteredBy) {
    this.enteredBy = enteredBy;
  }

  public String getAreaName() {
    return areaName;
  }

  public void setAreaName(String areaName) {
    this.areaName = areaName;
  }
}
